home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / MacHaskell 2.2 / com / allegro / build-xlib < prev    next >
Encoding:
Text File  |  1994-09-27  |  343 b   |  15 lines  |  [TEXT/ttxt]

  1. #!/bin/csh
  2. #
  3. # build-xlib -- recompile the xlib stuff
  4. #
  5. # note that allegro's loader will look in its lib directory automagically
  6. # for the clx library
  7. cd $Y2
  8. setenv LIBRARYBIN $Y2/progs/lib/X11/$ALLEGRODIR
  9. rm $LIBRARYBIN/xlib*.sbin
  10. bin/allegro-haskell <<EOF
  11. :(lisp:load "clx")
  12. :(setf *code-quality* 3)
  13. :compile \$HASKELL_LIBRARY/X11/xlib
  14. EOF
  15.